package com.mytrip.model;

import java.sql.Timestamp;

import com.mytrip.base.annotation.model.Entity;

/**
 * 角色
 */
@Entity(id = "id")
public class Role extends BaseModelAdapter{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3333313715325849084L;

	public static final short ROLE_STATUS_UNAVAILABLE = 0;

	public static final short ROLE_STATUS_AVAILABLE = 1;

	private Long id;

	private String roleName;

	private Short roleStatus;

	private Timestamp createTime;

	private Long modifierId;

	// 是否允许商家拥有这个权限， 0为允许，1为不
	private String SELL_TYPE;

	public Long getModifierId(){
		return modifierId;
	}

	public void setModifierId(Long modifierId){
		this.modifierId = modifierId;
	}

	public String getSELL_TYPE(){
		return SELL_TYPE;
	}

	public void setSELL_TYPE(String sell_type){
		SELL_TYPE = sell_type;
	}

	public Long getId(){
		return id;
	}

	public void setId(Long id){
		this.id = id;
	}

	public String getRoleName(){
		return roleName;
	}

	public void setRoleName(String roleName){
		this.roleName = roleName;
	}

	public Short getRoleStatus(){
		return roleStatus;
	}

	public void setRoleStatus(Short roleStatus){
		this.roleStatus = roleStatus;
	}

	public Timestamp getCreateTime(){
		return createTime;
	}

	public void setCreateTime(Timestamp createTime){
		this.createTime = createTime;
	}

}
